﻿Shader "Custom/03 Use Struct" {
	SubShader{
		Pass{
		CGPROGRAM

		#pragma vertex vert			//顶点函数
			float4 vert(float4 v : POSITION) :SV_POSITION{
			return UnityObjectToClipPos(v);
		}

		#pragma fragment frag		//片元函数
		fixed4 frag() : SV_Target{
			return fixed4(0.5,0.5,1,1);
		}

		ENDCG
	}
	}
		Fallback "VertexLit"
